

function updateSalary() {
    let salaryId = $(".salaryId").val();
    let reviewComments = $(".reviewComments").val();

    let json = {
        salaryId: salaryId,
        reviewComments: reviewComments
    }

    $.ajaxSettings.async = false;
    $.post("/checkDate", json, function (data) {
        if (data === true) {
            alert("复核成功！")
            location.href = "/salaryStandard"
        } else {
            alert("复核失败！")
        }
    })
    $.ajaxSettings.async = true;
}
